<?php
namespace Admin\Model;
use Think\Model;

class AttrpriceModel extends Model{
  protected $tableName = 'attrprice';
  protected $_auto = array(
    array('ctime','time',1,'function'),
    
  protected $_validate = array(
    array('mprice','require','市场价格不能空！'),
    array('sprice','require','商城价格不能空！'),
    array('num','require','库存量不能空！'),
   
  	);
 


}